<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>Login page</title>
    
	<meta http-equiv="keywords" content="Login page">
	<meta http-equiv="description" content="Login page">

  </head>
  
  <body>
    This is a Login page. <br>
    <form method="post" action="<%=basePath%>dologin">
    nickname: <input type=text name="nick_name" value="admin" /> <br>
    password: <input type=password name="pass_word" value="admin" /> <br>
    <input type=submit />
    </form>
  </body>
</html>
